import sys

from PyQt5.QtWidgets import QApplication, QDialog

import config
from main_frame.MainFrame import MainFrame

if __name__ == "__main__":
    config.setup_and_write_log("开始记录本次执行：")

    app = QApplication(sys.argv)
    mainWindow = QDialog()
    mainFrame = MainFrame()
    mainFrame.setupUi(mainWindow)
    mainWindow.show()
    sys.exit(app.exec_())
